package com.example.content

import com.hyphenate.easeui.constants.EaseConstant

/**
 * Created by zhudongao
 * Desc
 * Date 2020/11/15
 */

object IMConstants : EaseConstant {
    const val ACCOUNT_CHANGE = "account_change"
    const val  ACCOUNT_REMOVED = "account_removed"
    const val  ACCOUNT_CONFLICT = "conflict"
    const val  ACCOUNT_FORBIDDEN = "user_forbidden"
    const val  ACCOUNT_KICKED_BY_CHANGE_PASSWORD = "kicked_by_change_password"
    const val  ACCOUNT_KICKED_BY_OTHER_DEVICE = "kicked_by_another_device"

    const val  EXTRA_CONFERENCE_ID = "confId"
    const val  EXTRA_CONFERENCE_PASS = "password"
    const val  EXTRA_CONFERENCE_INVITER = "inviter"
    const val  EXTRA_CONFERENCE_IS_CREATOR = "is_creator"
    const val  EXTRA_CONFERENCE_GROUP_ID = "group_id"

    const val  OP_INVITE = "invite"
    const val  OP_REQUEST_TOBE_SPEAKER = "request_tobe_speaker"
    const val  OP_REQUEST_TOBE_AUDIENCE = "request_tobe_audience"

    const val  EM_CONFERENCE_OP = "em_conference_op"
    const val  EM_CONFERENCE_ID = "em_conference_id"
    const val  EM_CONFERENCE_PASSWORD = "em_conference_password"
    const val  EM_CONFERENCE_TYPE = "em_conference_type"
    const val  EM_MEMBER_NAME = "em_member_name"
    const val  EM_NOTIFICATION_TYPE = "em_notification_type"

    const val  MSG_ATTR_CONF_ID = "conferenceId"
    const val  MSG_ATTR_CONF_PASS = EXTRA_CONFERENCE_PASS
    const val  MSG_ATTR_EXTENSION = "msg_extension"

    const val  NEW_FRIENDS_USERNAME = "item_new_friends"
    const val  GROUP_USERNAME = "item_groups"
    const val  CHAT_ROOM = "item_chatroom"
    const val  CHAT_ROBOT = "item_robots"

    const val  NOTIFY_GROUP_INVITE_RECEIVE = "invite_receive"
    const val  NOTIFY_GROUP_INVITE_ACCEPTED = "invite_accepted"
    const val  NOTIFY_GROUP_INVITE_DECLINED = "invite_declined"
    const val  NOTIFY_GROUP_JOIN_RECEIVE = "invite_join_receive"
    const val  NOTIFY_CHANGE = "notify_change"

    const val  MESSAGE_GROUP_JOIN_ACCEPTED = "message_join_accepted"
    const val  MESSAGE_GROUP_AUTO_ACCEPT = "message_auto_accept"

    const val  CONTACT_REMOVE = "contact_remove"
    const val  CONTACT_ACCEPT = "contact_accept"
    const val  CONTACT_DECLINE = "contact_decline"
    const val  CONTACT_BAN = "contact_ban"
    const val  CONTACT_ALLOW = "contact_allow"

    const val  CONTACT_CHANGE = "contact_change"

    const val  GROUP_CHANGE = "group_change"
    const val  GROUP_OWNER_TRANSFER = "group_owner_transfer"
    const val  GROUP_SHARE_FILE_CHANGE = "group_share_file_change"

    const val  CHAT_ROOM_CHANGE = "chat_room_change"
    const val  CHAT_ROOM_DESTROY = "chat_room_destroy"

    const val  REFRESH_NICKNAME = "refresh_nickname"

    const val  CONVERSATION_DELETE = "conversation_delete"

    const val  MESSAGE_NOT_SEND = "message_not_send"
    const val  MESSAGE_FORWARD = "message_forward"
}